package com.yaorange.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 打印机设备管理对象 njt_printer_manage
 * 
 * @author zhouxin
 * @date 2025-03-07
 */
public class NjtPrinterManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 隐式自增主键 */
    private Long id;

    /** 设备唯一标识 */
    @Excel(name = "设备唯一标识")
    private String serialNumber;

    /** 打印机类型 */
    @Excel(name = "打印机类型")
    private Long type;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private Long status;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("type", getType())
            .append("status", getStatus())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
